home *** CD-ROM | disk | FTP | other *** search
- Path: Norway.EU.net!usenet
- From: patrick.hanevold@login.eunet.no (Patrick Hanevold)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Start and end address of memory
- Date: 19 Apr 1996 18:49:54 GMT
- Organization: EUnet Norway
- Message-ID: <923.6682T1203T241@login.eunet.no>
- NNTP-Posting-Host: pc9.asker-pm2-1.eunet.no
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- This source:
-
- printf("ln_Name = %s\n",SysBase->MemList.lh_TailPred->ln_Name);
- printf("mh_Lower = $%x\n",((struct MemHeader*)SysBase->MemList.lh_TailPred)-
- >mh_Lower);
- printf("mh_Upper = $%x\n",((struct MemHeader*)SysBase->MemList.lh_TailPred)-
- >mh_Upper);
-
- Outputs:
-
- ln_Name = chip memory
- mh_Lower = $3020
- mh_Upper = $200000
-
- Now I have upper and lower bound of chip memory, but I want the start and stop
- address. (meu_Addr and me_Length)
-
- Well.. Where are they. I cant find them anywhere in the SysBase->MemList.
- Is the name a joke?
-
- -----------------------------------------------------------------------------
- .. Patrick Hanevold - VR developer - patrick.hanevold@login.eunet.no ///
- .... Amiga and official Be developer - Visual Technologies \\\///
- ...... wATcH oUT fOr tHE cApSlOcK vIRuS! \X//
- -----------------------------------------------------------------------------
-
-